package com.kmxd.ams.client.arrange.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Builder;
import lombok.Data;

/**
 * 查询列表个性化配置
 *
 * @author ZuoLG
 */
@Schema(description = "查询列表个性化配置")
@Data
@Builder
public class ClumnsQueryVO implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键ID")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /** 数据库字段 */
  @Schema(description = "数据库字段")
  private String dbFieldKey;

  /** 字段名称 */
  @Schema(description = "字段名称")
  private String dbFieldName;

  /** 是否列表显示 0否，1是（原字段attrshow） */
  @Schema(description = "是否列表显示 0否，1是")
  private Boolean attrList;

  /** 是否支持排序 */
  @Schema(description = "排序")
  @JsonSerialize(using = ToStringSerializer.class)
  private Integer sort;
}
